package pers.lance.jdbc.dao;

import pers.lance.jdbc.pojo.Book;

import java.util.List;

/**
 * @author Lance Li
 * @date 7/10/2018 2:51 PM
 * @desc
 */
public interface BookDao {
    public List<Book> finAllBooks();
    public int addBook(Book book);
    public int updateBook(int id, Book book);
    public int deleteBook(int id);
    public Book loadBook(int id);
    public int[] addBooks(List<Book> books);
}
